﻿#ifndef REGISTER_H
#define REGISTER_H

#include <QWidget>
#include <QMessageBox>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QFile>
#include <QJsonObject>
#include <QDebug>
#include <QJsonArray>
#include "chatsocket.h"
#include "apply_protocl.h"
namespace Ui {
class Register;
}

class Register : public QWidget
{
    Q_OBJECT

public:
    explicit Register(ChatSocket *c,QWidget *parent = 0);
    ~Register();

private slots:
    void on_pushButton_getvfr_clicked();

    void on_pushButton_regi_clicked();

public slots:
    void slotRegisterRpt(QJsonObject root);

private:
    Ui::Register *ui;
    ChatSocket *cs;
};

#endif // REGISTER_H
